package com.zhxy.business.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zhxy.business.ApiLimitManager;
import com.zhxy.dao.ApiLimitMapper;
import com.zhxy.domain.ApiLimit;
import com.zhxy.domain.ApiLimitExample;

@Service
public class ApiLimitMangaerImpl implements ApiLimitManager {

    @Autowired
    private ApiLimitMapper apiLimitMapper;

    @Override
    public long countByExample(ApiLimitExample e) {
        return apiLimitMapper.countByExample(e);
    }

    @Override
    public int deleteByExample(ApiLimitExample e) {
        return apiLimitMapper.deleteByExample(e);
    }

    @Override
    public int deleteByPrimaryKey(Integer k) {
        return apiLimitMapper.deleteByPrimaryKey(k);
    }

    @Override
    public int insert(ApiLimit t) {
        return apiLimitMapper.insert(t);
    }

    @Override
    public int insertSelective(ApiLimit t) {
        return apiLimitMapper.insertSelective(t);
    }

    @Override
    public List<ApiLimit> selectByExample(ApiLimitExample e) {
        return apiLimitMapper.selectByExample(e);
    }

    @Override
    public ApiLimit selectByPrimaryKey(Integer k) {
        return apiLimitMapper.selectByPrimaryKey(k);
    }

    @Override
    public int updateByExampleSelective(ApiLimit t, ApiLimitExample e) {
        return apiLimitMapper.updateByExampleSelective(t, e);
    }

    @Override
    public int updateByExample(ApiLimit t, ApiLimitExample e) {
        return apiLimitMapper.updateByExample(t, e);
    }

    @Override
    public int updateByPrimaryKeySelective(ApiLimit t) {
        return apiLimitMapper.updateByPrimaryKeySelective(t);
    }

    @Override
    public int updateByPrimaryKey(ApiLimit t) {
        return apiLimitMapper.updateByPrimaryKey(t);
    }

}
